package com.google.code.jmarias.common.action;

import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author Ondrej Michal
 */
@XmlRootElement
public class LoginAction extends AbstractAction {

    private String username;
    private String password;

    public LoginAction() {
    }

    public LoginAction(String username, String password) {
        this.username = username;
        this.password = password;
    }

    @Override
    public String toString() {
        return "Zadost o prihlaseni uzivatele " + username + '.';
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

}
